package com.sunlx.product.generatesql;

import com.sunlx.product.dictionary.AlterTableTypeEnum;
import com.sunlx.product.dictionary.DatabaseTwoEnum;
import com.sunlx.product.domain.entity.ColumnDll;
import com.sunlx.product.domain.entity.TableDll;
import com.sunlx.product.domain.vo.TableDataVo;

import java.util.List;

/**
 * TODO
 *
 * @author Sunluxin
 * @date 2023/1/12 15:28
 */
public interface   SqlStrategy {
        ColumnDll geneSql(TableDataVo tableDataVo, AlterTableTypeEnum alterTableTypeEnum,Boolean onlyComments);
        List<TableDataVo> selectTableData(DatabaseTwoEnum databaseTwoEnum);
        TableDll selectTableDll(String tableName);
        String getUserName(String type);

}
